from dataclasses import dataclass

Track_arrow_head_length = 5
HoughLinesP_precise_1 = 360
HoughLinesP_precise_2 = 720
HoughLinesP_minLineLength_1 = 50
HoughLinesP_minLineLength_2 = 100
HoughLinesP_maxLineGap = 100
HoughLinesP_threshold = 100


@dataclass
class IMAGE_MASKAREA_RATIO:
    h: float = 180 / 500
    w: float = 100 / 630


Vertical_bl_offset = 5

Image_maskarea_ratio = IMAGE_MASKAREA_RATIO()

# effect bearing lines group prediction
# View_center_point_offset=2000

Travel_distance_max = 1500
Travel_distance_min = 5
Travel_distance_step = 2
Try_point_step = 3

Travel_distance_max_first = 2000
Travel_distance_min_first = 5
Travel_distance_step_first = 40
Try_point_step_first = 10

Ekelund_range_spd_top = 65
Ekelund_range_spd_btm = 3
Ekelund_range_spd_step = 1

Target_track_arrow = 5

Delete_image_file = True
TMA_tmp_dir = "/tmp/tma"
